/*begin formal AST verification
==================
global signature dump: 
main: 
==================
Starting
==================
symbol table dump: 
--> e: edg
--> myNodes: nodearr
no error!
begin translation to CAST
passed static semantic checking, begin code generation
====================== */
#include "digr.h"
#include <iostream>
/* actual definition of C++ functions */
int main() {
try{
DiGrNode* myNodes[3];
 myNodes[0]=new DiGrNode();
 myNodes[1]=new DiGrNode();
 myNodes[2]=new DiGrNode();
new DiGrEdge(myNodes[0], myNodes[1]);
new DiGrEdge(myNodes[1], myNodes[2]);
DiGrEdge *e = myNodes[0]->getOutEdge( 3 );
}
catch(const char *e) {
std::cout << e << std::endl;
}

}


